package com.yeshine.opendata.entity;

import com.yeshine.opendata.core.EntityBase;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;
import java.util.List;

/**
 * Created by taohj on 2014/6/27.
 *
 * 组织信息表
 */
public class Org extends EntityBase{

    //编号
    private Integer id;

    //名称
    private String name;

    //创建时间
    private Date createTime;

    //创建人
    private User creater;

    //头像地址
    private String headimage;

    //上级组织
    private Org superOrg;

    //简介
    private String description;


    private String contacts;

    private String telephone;

    private String email;

    private String address;

    private String postcode;

    private SysDictionary category;

    private User updater;

    private Date updateTime;


    private SysDictionary status;

    private String firstLetter;


    private SysDictionary auditStatus;

    private MultipartFile headImageFile;


    private List<User> members;


    public Org() {
    }

    public Org(Integer id) {
        this.id = id;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public User getCreater() {
        return creater;
    }

    public void setCreater(User creater) {
        this.creater = creater;
    }

    public String getHeadimage() {
        return headimage;
    }

    public void setHeadimage(String headimage) {
        this.headimage = headimage;
    }

    public Org getSuperOrg() {
        return superOrg;
    }

    public void setSuperOrg(Org superOrg) {
        this.superOrg = superOrg;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public SysDictionary getCategory() {
        return category;
    }

    public void setCategory(SysDictionary category) {
        this.category = category;
    }

    public User getUpdater() {
        return updater;
    }

    public void setUpdater(User updater) {
        this.updater = updater;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public MultipartFile getHeadImageFile() {
        return headImageFile;
    }

    public void setHeadImageFile(MultipartFile headImageFile) {
        this.headImageFile = headImageFile;
    }


    public SysDictionary getStatus() {
        return status;
    }

    public void setStatus(SysDictionary status) {
        this.status = status;
    }

    public SysDictionary getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(SysDictionary auditStatus) {
        this.auditStatus = auditStatus;
    }

    public List<User> getMembers() {
        return members;
    }

    public void setMembers(List<User> members) {
        this.members = members;
    }

    public String getFirstLetter() {
        return firstLetter;
    }

    public void setFirstLetter(String firstLetter) {
        this.firstLetter = firstLetter;
    }
}
